package com.accelstack.cmp.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 认证响应DTO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "认证响应")
public class AuthResponse {
    
    @Schema(description = "认证令牌（JWT）")
    private String token;
    
    @Schema(description = "令牌类型", example = "Bearer")
    private String tokenType;
    
    @Schema(description = "用户名")
    private String username;
    
    @Schema(description = "访问密钥")
    private String accessKey;
    
    @Schema(description = "过期时间（毫秒）")
    private Long expiresIn;
}

